<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<!--  import type='css' file='Admin.Images.css1.css' -->
<link href="/123/application/Public/Admin/Images/css1/css.css" rel="stylesheet" type="text/css">
<link href="/123/application/Public/Admin/css/page.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/123/application/Common/Common/jquery-1.8.3.js"></script>
<style>
td,th {
	text-align: center
}
</style>
</head>
<SCRIPT language=javascript>
<!--
	var displayBar = true;
	function switchBar(obj) {
		if (displayBar) {
			parent.frame.cols = "0,*";
			displayBar = false;
			obj.value = "打开左边管理菜单";
		} else {
			parent.frame.cols = "195,*";
			displayBar = true;
			obj.value = "关闭左边管理菜单";
		}
	}

	function fullmenu(url) {
		if (url == null) {
			url = "admin_left.asp";
		}
		parent.leftFrame.location = url;
	}
//-->
</SCRIPT>
<script type="text/javascript">
$().ready(function(e) {
    show();
});
function show(){
	$.post('__MODULE__/Goods/admin',function(msg){
		$('#show').append('msg');
		},'json')
	}
</script>



<body>
	<form method='post' action='__URL__/deleteAll'>
		<table class="table" cellspacing="1" cellpadding="2" width="99%"
			align="center" border="0">
			<tbody>
				<tr>
					<th class="bg_tr" align="left" height="25">序号</th>
					<th class="bg_tr" align="left" height="25">商品名</th>
                                        <th class="bg_tr" align="left" height="25">商品图片</th>
                                        <th class="bg_tr" align="left" height="25">商品描述</th>
					<th class="bg_tr" align="left" height="25">商品价格</th>
					<th class="bg_tr" align="left" height="25">所属分类</th>
					<th class="bg_tr" align="left" height="25">修改</th>
					<th class="bg_tr" align="left" height="25">
						<input type='submit' name='deleteSubmit' value='删除' />
					</th>
				</tr>
				<volist name='data' id='vo'>
				<tr>
					<td class="td_bg" width="5%" height="23" align="center">{$i}</td>
					<td class="td_bg"  style='text-align:left;padding-left:10px;'>
						{$vo.name}
					</td>
                        <td class="td_bg"><img src="/123/application/Public/Uploads/{$vo.small_photo}" width="40" height="40"/></td>
                        <td class="td_bg">{$vo.remark}</td>
					<td class="td_bg">{$vo.price}</td>
					<td class="td_bg">{$vo.cate.name}</td>
					<td class="td_bg">
						<a href="__URL__/edit/id/{$vo.id}/p/{$p}">修改</a>
					</td>
					<td class="td_bg">
						<input type='checkbox' value="{$vo.id}" name='id[]' />
					</td>
				</tr>
				</volist>
				<tr>
					<td colspan="6"><div class="badoo" id="show">{$show} </div></td>       <!-- {$show} -->
				</tr>
			</tbody>
		</table>
	</form>
</body>
</html>
